package com.zxb.promote.com.zxb.promote.service;
import com.zxb.promote.com.zxb.promote.entity.Collage;
import com.zxb.promote.com.zxb.promote.mapper.CollageMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

/**
 * @Package:       com.zxb.promote.com.zxb.promote.service
 * @ClassName:     CollageService
 * @Author:        zhangxubin
 * @Description:     
 * @Date:           2019/6/6 14:08
 */
@Service
 public class CollageService {
 @Autowired
 private CollageMapper collageMapper;

  public List<Collage> selectAllCollage(){
   return  collageMapper.sleectAllCollage();
  }
  public Collage selectCollageByCollageNum(String collagenum){
   return collageMapper.selectCollageByCollageNum(collagenum);
  }
  public List<Collage> selectCollageByName(String collagename){
   return collageMapper.selectCollageByLikeName(collagename);
  }

}
